export const emptyStyle = `:root {\n  \n}\n`
export function getStyle(content: string) {
  const format = /\s*([a-zA-Z\-]+)\s*:\s*([^;]+);/g
  let match: RegExpExecArray | null
  const style = {}
  while ((match = format.exec(content)) !== null) {
    style[match[1]] = match[2]
  }
  return style
}